home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / c / icu-1.3.1 / icuapps / locexp / tools / makefile.in < prev    next >
Makefile  |  2000-02-23  |  2KB  |  80 lines

  1. # todo:  install this stuff??????
  2.  
  3. srcdir=@srcdir@
  4. top_srcdir=@top_srcdir@
  5.  
  6. # srcdir must be set before this is included
  7. include @ICU_MAKEFILE@
  8.  
  9. SCRIPTS = genIndex.sh emitResourceFromFile.sh extractStrings.sh
  10.  
  11. ## Build directory information
  12. top_builddir = ../..
  13. subdir = locexp/tools
  14.  
  15. ## Extra files to remove for 'make clean'
  16. CLEANFILES = *~
  17.  
  18. TARGET = escapeForBundle
  19. OBJECTS = escapeForBundle.o
  20. DEPS = $(OBJECTS:.o=.d)
  21.  
  22.  
  23. ## List of phony targets
  24. .PHONY : all all-local install install-local clean clean-local \
  25. distclean distclean-local dist dist-local check check-local
  26.  
  27. ## Clear suffix list
  28. .SUFFIXES :
  29.  
  30.  
  31. ## List of standard targets
  32. all:  all-local
  33. install:  install-local
  34. clean:  clean-local
  35. distclean :  distclean-local
  36. dist:  dist-local
  37. check:  check-local
  38.  
  39. all-local: $(TARGET)
  40.     chmod a+x $(SCRIPTS)
  41.  
  42. install-local: all-local install-target
  43.  
  44. mkinstalldirs = $(SHELL) $(sbindir)/mkinstalldirs
  45.  
  46. install-target: all-local
  47.     $(mkinstalldirs) $(bindir)
  48.     $(INSTALL_PROGRAM) $(TARGET) $(sbindir)/$(TARGET)
  49.     $(INSTALL_SCRIPT) $(SCRIPTS) $(sbindir)
  50.  
  51. dist-local:
  52.  
  53. clean-local:
  54.     test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  55.     rm -f $(OBJECTS) $(TARGET)
  56.  
  57. distclean-local: clean-local
  58.     rm -f Makefile $(DEPS)
  59.  
  60. check-local:
  61.  
  62. Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  63.     cd $(top_builddir) \
  64.      && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  65.  
  66. # ICULIBS includes all standard ICU libraries.
  67. # if we wanted only part of the ICU, we could use (for example) just
  68. #         '$(LIBS) -licu-uc -lusort' ...
  69.  
  70. $(TARGET) : $(OBJECTS)
  71.     $(LINK.c) -o $@ $^ $(ICULIBS)
  72.  
  73. ifneq ($(MAKECMDGOALS),distclean)
  74. -include $(DEPS)
  75. endif
  76.  
  77.  
  78.  
  79.  
  80.